package com.test.service.Impl;

import com.test.service.IHelloService;
import org.springframework.stereotype.Service;

/**
 * @Classname： HelloService
 * @Description：
 * @Author： xiedong
 * @Date： 2019/11/11 18:03
 * @Version： 1.0
 **/
@Service
public class HelloServiceImpl implements IHelloService {
    @Override
    public void IsayHello() {
        System.out.println("IsayHello方法被调用了……");
    }

    @Override
    public void say(String msg) {
        System.out.println("say方法被调用，参数msg："+msg);
    }

    @Override
    public void error(boolean isThrow) {
        System.out.println("error begins");
        throw new RuntimeException("我抛出异常了！");
    }
}
